export default {
    tooltip: {
        trigger: "item",
        formatter: "{a} <br/>{b} : {c} ({d}%)",
    },
    legend: {
        data: ["rose1", "rose2", "rose3", "rose4", "rose5"],
    },
    series: [{
        name: "Radius Mode",
        type: "pie",
        radius: ["10%", "50%"],
        center: ["50%", "50%"],
        label: {
            fontSize: 10,
        },
        roseType: "radius",
        itemStyle: {
            //扇形的边角
            borderRadius: 0,
        },
        labelLine: {
            // 连接扇形图线长
            length: 6,
            // 连接文字线长
            length2: 8,
        },

        data: [
            { value: 30, name: "rose 1" },
            { value: 23, name: "rose 2" },
            { value: 18, name: "rose 3" },
            { value: 12, name: "rose 4" },
            { value: 10, name: "rose 5" },
        ],
    }, ],
}